package com.aceitunaproject.shared.gamelement;

/**
 * Shared (Communications) Class representing an Unit
 * 
 * @author Federico Bergstein
 * 
 */
public class Unit extends GameElement {

	private static final long serialVersionUID = 5879299505693920508L;

	private int timeUnits;
	private long persons = 0;
	/**
	 * @param timeUnits
	 *            the timeUnits the Unit has available
	 */
	public void setTimeUnits(int timeUnits) {
		this.timeUnits = timeUnits;
	}

	/**
	 * @return the timeUnits the Unit has available
	 */
	public int getTimeUnits() {
		return timeUnits;
	}



	public void setPersons(long l) {
		this.persons = l;

	}

	public long getPersons() {
		return persons;
	}

}
